/*
* 方法定义
* */
fun main() {
    println(doSomething(5, false))
    fix("kkk")
    fix(name="rose",age=10)
    println(  fix(name="rose77",age=10))
    TODO("nothing")
    println("after nothing.")
}

private fun doSomething(age:Int, flag: Boolean): String {
    return "result"
}

fun fix(name:String, age:Int = 2){
    println(name + age)
}

